package com.yb.guigu.pick.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 姚兵
 * @since 2023-06-08
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_role_route")
@ApiModel(value = "SysRoleRoute对象", description = "")
public class SysRoleRoute {

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("sys_role_id")
    @TableField("role_id")
    private Integer roleId;

    @ApiModelProperty("sys_route_id")
    @TableField("route_id")
    private Integer routeId;

    @ApiModelProperty("sys_route_id_path")
    @TableField("route_id_path")
    private String routeIdPath;

    @ApiModelProperty("父节点的id")
    @TableField("parent_id")
    private Integer parentId;

    @TableField("create_time")
    private LocalDateTime createTime;


}
